UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The operating system must implement replay-resistant authentication mechanisms for network access to non-privileged accounts.


Overview

Finding ID Version Rule ID IA Controls Severity
V-58365 AOSX-09-000575 SV-72795r1_rule Medium
Description
The SSH Version should be explicitly set to Version 2. Version 2 supports strong crypto and was rewritten from scratch to resolve several weaknesses in Version 1 that make it extremely vulnerable to attackers. The weaker crypto in Version 1 is potentially susceptible to certain forms of replay attacks. The system default is to only enable Version 2. A replay attack may enable an unauthorized user to gain access to the operating system. Authentication sessions between the authenticator and the operating system validating the user credentials must not be vulnerable to a replay attack. An authentication process resists replay attacks if it is impractical to achieve a successful authentication by recording and replaying a previous authentication message.
STIG Date
Apple OS X 10.9 (Mavericks) Workstation Security Technical Implementation Guide 2017-01-05

Details

Check Text ( C-59191r1_chk )
To check which protocol is configured for sshd, run the following:

sudo grep ^Protocol /etc/sshd_config

If there is no result or the result is not '2', this is a finding.
Fix Text (F-63681r2_fix)
In order to make sure that 'Protocol 2' is used by sshd, run the following command:

sudo sed -i.bak 's/.*Protocol.*/Protocol 2/' /etc/sshd_config